-- GENERATED SPELL FOR [Axxarien Shadowstalker] --


function spell0_17340(pUnit, Event) --@Corruption,n/a--
pUnit:FullCastSpellOnTarget(21068,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17340', 26000, 1)
end

function Sorts_17340(pUnit, Event)
local choix_sorts_17340 = math.random(0, 0)
if choix_sorts_17340 == 0 then
pUnit:RegisterEvent('spell0_17340', 1, 1)
end
end

function mob17340_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17340', math.random(1500, 3000), 1)
end

function mob17340_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17340_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17340_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17340, 1, 'mob17340_Action')
RegisterUnitEvent(17340, 2, 'mob17340_Leave')
RegisterUnitEvent(17340, 3, 'mob17340_Kill')
RegisterUnitEvent(17340, 4, 'mob17340_Die')
